package com.nuyoah.mapper;

import com.nuyoah.entity.CompetitionRegistration;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 记录学生的竞赛报名详情 Mapper 接口
 * </p>
 *
 * @author xyx
 * @since 2024-06-03
 */
public interface CompetitionRegistrationMapper extends BaseMapper<CompetitionRegistration> {

    CompetitionRegistration getRegistrationInfo(Integer competitionId);

    List<CompetitionRegistration> getRegistrationInfoByStudentId(Integer ids);

}
